<template>
    <div class="header">
我是头部 
<slot></slot>
<el-button @click="OnoutLogin" type="info">退出</el-button>

    </div>
</template>

<script>
    export default {
        props:['OnoutLogin']
    }
</script>

<style scoped>

</style>